package main.java.com.negromotad.view;

import java.awt.Dimension;

import javax.swing.JTable;

import main.java.com.negromotad.view.tableModelView.TableModelView;

public class TableView extends JTable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4470446257507444368L;

	public TableView(TableModelView tableModel) {
		super(tableModel);
		init();

	}

	private void init() {
		setFillsViewportHeight(true);
		setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
		setCellSelectionEnabled(true);
		setPreferredScrollableViewportSize(new Dimension(200, 192));

	}

}
